package com.lsl.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student {
    @Value("ID是1")
    private int id;
    @Value("${domain.name}")
    private String name;
    private int age;
}
